Scroll to navigation

fribidi_get_joining_type(3) Programmer's Manual fribidi_get_joining_type(3)

NAME

fribidi_get_joining_type - get character joining type

SYNOPSIS

#include <fribidi.h>

extern FriBidiJoiningType fribidi_get_joining_type(FriBidiChar ch);

PARAMETERS

Input character.

DESCRIPTION

This function returns the joining type of a character as defined in Table 8-2 Primary Arabic Joining Classes of the Unicode standard available at http://www.unicode.org/versions/Unicode4.0.0/ch08.pdf#G7462, using data provided in file ArabicShaping.txt and UnicodeData.txt of the Unicode Character Database available at http://www.unicode.org/Public/UNIDATA/ArabicShaping.txt and http://www.unicode.org/Public/UNIDATA/UnicodeData.txt.

There are a few macros defined in fribidi-joining-types.h for querying a joining type.

RETURNS

Possible values for an extern FriBidiJoiningType are as follows:

NUn-joining, e.g. Full Stop.
Right-joining, e.g. Arabic Letter Dal.
Dual-joining, e.g. Arabic Letter Ain.
Join-Causing, e.g. Tatweel, ZWJ.
Transparent, e.g. Arabic Fatha.
Left-joining, i.e. Fictional.
IGnored, e.g. LRE, RLE, ZWNBSP.

SEE ALSO

fribidi_shape_arabic(3), fribidi_get_par_direction(3), fribidi_get_par_embedding_levels_ex(3), fribidi_reorder_line(3), fribidi_get_bidi_type(3), fribidi_get_bidi_types(3), fribidi_get_bidi_type_name(3), fribidi_debug_status(3), fribidi_set_debug(3), fribidi_charset_to_unicode(3), fribidi_unicode_to_charset(3), fribidi_parse_charset(3), fribidi_mirroring_status(3), fribidi_set_mirroring(3), fribidi_reorder_nsm_status(3), fribidi_set_reorder_nsm(3), fribidi_log2vis_get_embedding_levels(3), fribidi_get_type(3), fribidi_get_type_internal(3), fribidi_remove_bidi_marks(3), fribidi_log2vis(3), fribidi_get_par_embedding_levels(3), fribidi_join_arabic(3), fribidi_get_joining_types(3), fribidi_get_joining_type_name(3), fribidi_get_mirror_char(3), fribidi_shape_mirroring(3), fribidi_get_bracket(3), fribidi_get_bracket_types(3), fribidi_shape(3)

19 February 2018 c2man fribidi-joining-types.h